projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a335c7d
)
(isearch-repeat): When changing direction, mark search successful.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 11:27:18 +0000
(11:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 11:27:18 +0000
(11:27 +0000)
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 56a73a689a57f0233c98cc7e11d43518baf12887..f3fc51778e9baa2982eaf526333e11e597d9cfee 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-1147,7
+1147,8
@@
Use `isearch-exit' to quit without signaling."
(funcall isearch-wrap-function)
(goto-char (if isearch-forward (point-min) (point-max)))))))
;; C-s in reverse or C-r in forward, change direction.
- (setq isearch-forward (not isearch-forward)))
+ (setq isearch-forward (not isearch-forward)
+ isearch-success t))
(setq isearch-barrier (point)) ; For subsequent \| if regexp.